TranslateListWithConvertibleElements<TFrom, TTo>
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TranslateListWithConvertibleElements<TFrom, TTo>
Methods
LateBoundTranslateToGenericICollection(Object, Type)
View Source
Declaration
public static object LateBoundTranslateToGenericICollection(object fromList, Type toInstanceOfType)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | fromList |
System.Type | toInstanceOfType |
TranslateToGenericICollection(ICollection<TFrom>, Type)
View Source
Declaration
public static ICollection<TTo> TranslateToGenericICollection(ICollection<TFrom> fromList, Type toInstanceOfType)
Returns
System.Collections.Generic.ICollection<<TTo>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.ICollection<<TFrom>> | fromList |
System.Type | toInstanceOfType |